package effectivejava.avoidstringforcompoundkey;

public class AvoidStringForCompoundKey {
    //compoundKey
    //String compoundKey = className + "#" + i.next();
    public static void main(String[] args) {
        ClassAndMethodName classAndMethodName = new ClassAndMethodName("", "");
        classAndMethodName.getClassName();
    }

    private static class ClassAndMethodName {
        private String className;
        private String methodName;

        public ClassAndMethodName(String className, String methodName) {
            this.className = className;
            this.methodName = methodName;
        }

        public String getClassName() {
            return className;
        }

        public String getMethodName() {
            return methodName;
        }
    }
}
